<?php
/**
 * licenses : MIT
 * creatTime: 2020/5/15
 * author : weblinuxgame
 * filename: UserApi.php
 */

namespace App\Api\Modules\User\Admin;

use Illuminate\Http\Request;
use Illuminate\Http\Response;
use OpenApi\Annotations as OA;

/**
 * @OA\Tag(
 *    name="AdminUserMananger",
 *    description="## 管理后台-管理员用户接口集合",
 *   )
 */

/**
 * Interface UserApi
 * @package App\Api\Modules\User
 */
interface AdminUserApi
{
    /**
     * 罗列后台用户
     * @param Request $request
     * @return Response
     */
    public function lists(Request $request): Response;

    /**
     * 获取单个后台用户信息
     * @param Request $request
     * @return Response
     */
    public function show(Request $request): Response;

    /**
     * 用户查询接口
     * @param Request $request
     * @return Response
     */
    public function search(Request $request): Response;

    /**
     * 创建后台用户
     * @param Request $request
     * @return Response
     */
    public function store(Request $request): Response;

    /**
     * 更新后台用户
     * @param Request $request
     * @return Response
     */
    public function update(Request $request): Response;

}
